Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block upload if size exceeds capacity #2053

Merged
merged 19 commits into from
Apr 1, 2022

Conversation

FSM1
Copy link
Contributor

@FSM1 FSM1 commented Mar 28, 2022

closes #2030


Submission checklist:

Layout

  • Change looks good in the desktop web ui
  • Change looks good in the mobile web ui

Theme

  • Components / elements inspected in light mode
  • Components / elements inspected in dark mode

Billing

  • Change applied to both files-ui and storage-ui

@render
Copy link

render bot commented Mar 28, 2022

@render
Copy link

render bot commented Mar 28, 2022

@FSM1 FSM1 requested review from Tbaut and RyRy79261 and removed request for Tbaut March 28, 2022 18:10
@render
Copy link

render bot commented Mar 28, 2022

@github-actions github-actions bot added the Type: Feature Added to PRs to identify that the change is a new feature. label Mar 28, 2022
@FSM1 FSM1 requested review from Tbaut, asnaith and tanmoyAtb and removed request for RyRy79261 March 28, 2022 18:11
@FSM1 FSM1 self-assigned this Mar 28, 2022
@FSM1 FSM1 added the Status: Review Needed 👀 Added to PRs when they need more review label Mar 28, 2022
@FSM1 FSM1 changed the title Feat/block upload if space exceeded 2030 Block upload if size exceeds capacity Mar 29, 2022
@asnaith
Copy link
Member

asnaith commented Mar 30, 2022

I'm not able to upload enough files to test this at the moment but I check again later once the current upload issue is resolved.

Hopefully, I can intercept and stub the capacity in charles and avoid the need to upload 20gb worth of data.

@FSM1
Copy link
Contributor Author

FSM1 commented Mar 31, 2022

I'm not able to upload enough files to test this at the moment but I check again later once the current upload issue is resolved.

Hopefully, I can intercept and stub the capacity in charles and avoid the need to upload 20gb worth of data.

Should be easy enough to intercept the GET bucket summary call in the tests and test it out that way.

Copy link
Contributor

@tanmoyAtb tanmoyAtb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great ! Tried all the ways we can upload.

Made me think about this.
Whats our policy if the shared folder owner is not the current user ?
I see that shared users with edit access can upload without any restriction.

@tanmoyAtb
Copy link
Contributor

Looks great ! Tried all the ways we can upload.

Made me think about this. Whats our policy if the shared folder owner is not the current user ? I see that shared users with edit access can upload without any restriction.

Ahh I saw the reply later. Makes perfect sense.

Copy link
Collaborator

@Tbaut Tbaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it's working well. Just left a couple suggestions for readability and a small layout thing.

FSM1 and others added 6 commits April 1, 2022 12:09
…leModal.tsx

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
…leModal.tsx

Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
@FSM1 FSM1 enabled auto-merge April 1, 2022 10:43
@FSM1 FSM1 merged commit 843285b into dev Apr 1, 2022
@FSM1 FSM1 deleted the feat/block-upload-if-space-exceeded-2030 branch April 1, 2022 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed 👀 Added to PRs when they need more review Type: Feature Added to PRs to identify that the change is a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show an informative message when selecting files that will reach the storage limit
5 participants